<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="shortcut icon" href="<?php echo base_url(); ?>assets/images/favicon.ico" type="image/x-icon"/>
    <?php    
    	if(!isset($title)) {
	        $title = $this->uri->segment(1);
	        $title = ($title !="" ? $title : 'home') . ' - ';
	        $title = ucfirst($title);
		} else {
			$title = $title . ' - ';
		}
    ?>
	<title><?php echo $title; ?>TradePairs.com</title>
    <link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>assets/css/style.css" />
    <?php if(isset($isLoadCalendar)) { ?><link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>assets/css/ui-lightness/jquery-ui-1.10.3.custom.min.css" /><?php } ?>
    <script type="text/javascript" src="<?php echo base_url(); ?>assets/js/jquery-1.10.2.min.js"></script>
    <?php if(isset($isLoadCalendar)) { ?><script type="text/javascript" src="<?php echo base_url(); ?>assets/js/jquery-ui-1.10.3.custom.min.js"></script><?php } ?>
    <script type="text/javascript"><?php if(isset($isLoadCalendar)) { ?>var loadCalendar = true;<?php } else { ?>var loadCalendar = false;<?php } ?></script>    
    <script type="text/javascript" src="<?php echo base_url(); ?>assets/js/handle.js"></script>
</head>
<body>
<div class="main">
  <div class="header">
    <a class="logo" href="<?php echo base_url(); ?>" title="TradePairs"></a>
    <a href="<?php echo base_url(array('user','logout')); ?>" class="logout" title="Logout"></a>
    <?php $this->load->view('common/top-nav'); ?>
  </div>
  <div class="content">